class Data::Cookbook::Cooked
- Data::Cookbook::Cooked
- Reference
- Object
Included Modules
- Enumerable(Data::Chef::Cooked)
Defined in:
data/cookbook.crInstance Method Summary
- #<<(*args, **options)
- #<<(*args, **options, &)
-
#array : Array(Chef::Cooked)
var foo = Foo.new(self) [name.value.id ] Foo.new(self) [name.value.name] new [name.value.id.stringify.gsub(/.new\b.*$/, "")] "Foo"
-
#array=(v : Array(Chef::Cooked)) : Array(Chef::Cooked)
var foo = Foo.new(self) [name.value.id ] Foo.new(self) [name.value.name] new [name.value.id.stringify.gsub(/.new\b.*$/, "")] "Foo"
-
#array=(v : Nil)
nil
assignments are always ignored -
#array? : Array(Chef::Cooked) | Nil
var foo = Foo.new(self) [name.value.id ] Foo.new(self) [name.value.name] new [name.value.id.stringify.gsub(/.new\b.*$/, "")] "Foo"
- #each(*args, **options)
- #each(*args, **options, &)
- #errors : Array(Chef::ERROR)
-
#to_s(io : IO)
Appends a short String representation of this object which includes its class name and its object address.
Instance methods inherited from class Object
to_toml : String
to_toml
Instance Method Detail
var foo = Foo.new(self) [name.value.id ] Foo.new(self) [name.value.name] new [name.value.id.stringify.gsub(/.new\b.*$/, "")] "Foo"
var foo = Foo.new(self) [name.value.id ] Foo.new(self) [name.value.name] new [name.value.id.stringify.gsub(/.new\b.*$/, "")] "Foo"
var foo = Foo.new(self) [name.value.id ] Foo.new(self) [name.value.name] new [name.value.id.stringify.gsub(/.new\b.*$/, "")] "Foo"
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>