class Crinja::Util::ScopeMap(K, V)
- Crinja::Util::ScopeMap(K, V)
- Reference
- Object
Direct Known Subclasses
Defined in:
util/scope_map.crConstructors
Instance Method Summary
- #[](key : K)
- #[]=(*args, **options)
- #clear(*args, **options)
- #clear(*args, **options, &)
- #delete(*args, **options)
- #delete(*args, **options, &)
- #entries
- #has_key?(key : K)
- #has_value?(value : V)
-
#inspect(io : IO)
Appends a String representation of this object which includes its class name, its object address and the values of all instance variables.
- #keys
- #merge!(*args, **options)
- #merge!(*args, **options, &)
- #parent
- #scope
- #size
- #undefined
- #values
Constructor Detail
Instance Method Detail
def inspect(io : IO)
#
Description copied from class Reference
Appends a String representation of this object which includes its class name, its object address and the values of all instance variables.
class Person
def initialize(@name : String, @age : Int32)
end
end
Person.new("John", 32).inspect # => #<Person:0x10fd31f20 @name="John", @age=32>