Class: Termular::AST::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/termular/parser.rb

Instance Method Summary collapse

Constructor Details

#initialize(hash = {}) ⇒ Base

Returns a new instance of Base.



6
7
8
# File 'lib/termular/parser.rb', line 6

def initialize(hash = {})
  hash.each { |k,v| send "#{k}=", v }
end