Class: ToFactory::NullRepresentation
Instance Method Summary
collapse
#ruby2ruby, #ruby_parser, #to_ruby
Constructor Details
Returns a new instance of NullRepresentation.
5
6
7
|
# File 'lib/to_factory/representation.rb', line 5
def initialize(sexp)
@sexp = sexp
end
|
Instance Method Details
#definition ⇒ Object
17
18
19
|
# File 'lib/to_factory/representation.rb', line 17
def definition
to_ruby(@sexp)
end
|
#name ⇒ Object
9
10
11
|
# File 'lib/to_factory/representation.rb', line 9
def name
nil
end
|
#parent ⇒ Object
13
14
15
|
# File 'lib/to_factory/representation.rb', line 13
def parent
nil
end
|