Class: Build2Spec::UnknownStandIn

Inherits:
StandIn show all
Defined in:
lib/build2spec.rb

Constant Summary

Constants inherited from StandIn

StandIn::Indent

Instance Attribute Summary

Attributes inherited from StandIn

#covering_for, #faked_instance_methods, #faked_module_methods, #nested

Instance Method Summary collapse

Methods inherited from StandIn

#argument_text, #empty?, #initialize, #is_class, #is_module, #method_text, #name, #nest_standin

Constructor Details

This class inherits a constructor from Build2Spec::StandIn

Instance Method Details

#mod_text(nesting = "") ⇒ Object



457
458
459
460
# File 'lib/build2spec.rb', line 457

def mod_text(nesting="")
  return "" if @covering_for.guessed?
  super
end

#name_at(nesting) ⇒ Object



453
454
455
# File 'lib/build2spec.rb', line 453

def name_at(nesting)
  @covering_for.name || "Build2Spec::UnknownType"
end