class Crinja::Util::ScopeMap(K, V)

Direct Known Subclasses

Defined in:

util/scope_map.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(parent : Crinja::Util::ScopeMap(K, V)? = nil, scope = nil) #

[View source]

Instance Method Detail

def [](key : K) #

[View source]
def []=(*args, **options) #

[View source]
def clear(*args, **options) #

[View source]
def clear(*args, **options, &) #

[View source]
def delete(*args, **options) #

[View source]
def delete(*args, **options, &) #

[View source]
def entries #

[View source]
def has_key?(key : K) #

[View source]
def has_value?(value : V) #

[View source]
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>

[View source]
def keys #

[View source]
def merge!(*args, **options) #

[View source]
def merge!(*args, **options, &) #

[View source]
def parent #

[View source]
def scope #

[View source]
def size #

[View source]
def undefined #

[View source]
def values #

[View source]