Data::Recipe
Inherits Reference < Object
Constructors
new(table : Nil | String, pg : Nil | Data::Pg::Meta = nil, ch : Nil | Data::Ch::Meta = nil, reason : Nil | String = nil)
SourceInstance methods
action
Sourcech
ch=(v : Nil)
nil assignments are always ignored
ch=(v : Ch::Meta) : Ch::Meta
ch?
color
Sourcecolorize(text)
Sourcecontrol?
Sourcepg
pg=(v : Nil)
nil assignments are always ignored
pg=(v : Pg::Meta) : Pg::Meta
pg?
reason
reason=(v : Nil)
nil assignments are always ignored
reason?
table
table=(v : Nil)
nil assignments are always ignored
table?
to(klass : Recipe.class) : Recipe
Sourceto_s(io : IO)
Appends a short String representation of this object which includes its class name and its object address.
class Person
def initialize(@name : String, @age : Int32)
end
end
Person.new("John", 32).to_s # => #<Person:0x10a199f20>