Method: Bindings::HashBinding#initialize

Defined in:
lib/binding.rb

#initialize(name, content) ⇒ HashBinding

Creates a new instance.

Parameters:

  • name (String)

    the name of the binding

  • content (Hash<String, String>)

    the content of the binding



162
163
164
165
# File 'lib/binding.rb', line 162

def initialize(name, content)
  @name = name
  @content = content
end