Class: Dang::Parser::Literal

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(str) ⇒ Literal

Returns a new instance of Literal.



482
483
484
# File 'lib/dang/parser.rb', line 482

def initialize(str)
  @str = str
end

Instance Attribute Details

#strObject (readonly)

Returns the value of attribute str.



486
487
488
# File 'lib/dang/parser.rb', line 486

def str
  @str
end