Class: FixtureFox::Directive

Inherits:
Token
  • Object
show all
Defined in:
lib/fixture_fox/token.rb

Instance Attribute Summary

Attributes inherited from Token

#file, #initial_indent, #lineno, #litt, #pos, #value

Instance Method Summary collapse

Methods inherited from Token

#==, #error, #to_s

Constructor Details

#initialize(file, lineno, initial_indent, pos, litt) ⇒ Directive

Returns a new instance of Directive.



39
40
41
42
# File 'lib/fixture_fox/token.rb', line 39

def initialize(file, lineno, initial_indent, pos, litt)
  super
  @value = litt[1..-1]
end