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.



201
202
203
# File 'lib/power_assert/parser.rb', line 201

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

Instance Method Details

#call_pathsObject



209
210
211
# File 'lib/power_assert/parser.rb', line 209

def call_paths
  []
end

#identsObject



205
206
207
# File 'lib/power_assert/parser.rb', line 205

def idents
  []
end