Class: WAG::Type::Base
- Inherits:
-
Object
- Object
- WAG::Type::Base
- Defined in:
- lib/wag/types/base.rb
Instance Method Summary collapse
Instance Method Details
#to_sexpr ⇒ Object
6 7 8 9 |
# File 'lib/wag/types/base.rb', line 6 def to_sexpr name = WAG::Inflector.inflector.demodulize(self.class.name.to_s) WAG::Inflector.inflector.underscore(name).to_sym end |
#value? ⇒ Boolean
11 12 13 |
# File 'lib/wag/types/base.rb', line 11 def value? true end |