Class: PowerAssert::Parser::DummyParser

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

Instance Method Summary collapse

Constructor Details

#initialize ⇒ DummyParser

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_paths ⇒ Object



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

def call_paths
  []
end

#idents ⇒ Object



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

def idents
  []
end