Class: PowerAssert::Parser::DummyParser

Inherits:
PowerAssert::Parser
  • Object
show all
Defined in:
lib/power_assert/parser.rb

Instance Method Summary collapse

Constructor Details

#initializeDummyParser

Returns a new instance of DummyParser.



236
237
238
# File 'lib/power_assert/parser.rb', line 236

def initialize
  super('', nil, nil, TOPLEVEL_BINDING)
end

Instance Method Details

#call_pathsObject



244
245
246
# File 'lib/power_assert/parser.rb', line 244

def call_paths
  []
end

#identsObject



240
241
242
# File 'lib/power_assert/parser.rb', line 240

def idents
  []
end