Class: PowerAssert::Parser::DummyParser

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

Instance Method Summary collapse

Constructor Details

#initializeDummyParser

Returns a new instance of DummyParser.



265
266
267
# File 'lib/power_assert/parser.rb', line 265

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

Instance Method Details

#call_pathsObject



273
274
275
# File 'lib/power_assert/parser.rb', line 273

def call_paths
  []
end

#identsObject



269
270
271
# File 'lib/power_assert/parser.rb', line 269

def idents
  []
end