abstract class Object
Overview
Object is the base type of all Crystal objects.
Defined in:
crystal_on_steroids/inclusion.crcrystal_on_steroids/object.cr
crystal_on_steroids/to_query.cr
Class Method Summary
- 
        .❨╯°□°❩╯︵┻━┻
        
          source: https://github.com/mperham/sidekiq/blob/e447dae961ebc894f12848d9f33446a07ffc67dc/lib/sidekiq.rb#L52 
Instance Method Summary
- 
        #in?(another_object)
        
          Returns true if this object is included in the argument. 
- 
        #presence
        
          Returns the receiver if it's present otherwise returns nil.
- 
        #presence_in(another_object)
        
          Returns the receiver if it's included in the argument otherwise returns nil.
- 
        #present?
        
          An object is present if it's not blank. 
- 
        #to_param
        
          Alias for to_s
- 
        #to_query(namespace)
        
          Converts an object into a string suitable for use as a URL query string, using the given namespaceas the param name.
- 
        #to_query
        
          Converts an object into a string suitable for use as a URL query string, no key provided 
Class Method Detail
source: https://github.com/mperham/sidekiq/blob/e447dae961ebc894f12848d9f33446a07ffc67dc/lib/sidekiq.rb#L52
Instance Method Detail
Returns true if this object is included in the argument. Argument must be
any object which responds to #include?. Usage:
  characters = ["Konata", "Kagami", "Tsukasa"]
  "Konata".in?(characters) # => trueThis will throw an ArgumentError if the argument doesn't respond
to #include?.
source: Rails ActiveSupport
Returns the receiver if it's present otherwise returns nil.
object.presence is equivalent to
object.present? ? object : nilsource: Rails ActiveSupport
Returns the receiver if it's included in the argument otherwise returns nil.
Argument must be any object which responds to #include?. Usage:
  params[:bucket_type].presence_in %w( project calendar )source: Rails ActiveSupport
Converts an object into a string suitable for use as a URL query string,
using the given namespace as the param name.
Converts an object into a string suitable for use as a URL query string, no key provided