Exception: ToFactory::Parsing::CouldNotInferClassException

Inherits:
Exception
  • Object
show all
Defined in:
lib/to_factory/parsing/syntax.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(sexp) ⇒ CouldNotInferClassException

Returns a new instance of CouldNotInferClassException.



8
9
10
# File 'lib/to_factory/parsing/syntax.rb', line 8

def initialize(sexp)
  @sexp = sexp
end

Instance Attribute Details

#sexpObject (readonly)

Returns the value of attribute sexp.



6
7
8
# File 'lib/to_factory/parsing/syntax.rb', line 6

def sexp
  @sexp
end