Class: String
Instance Method Summary collapse
-
#as_method_name ⇒ Object
def _nydp_wrapper ; Nydp::StringAtom.new self ; end.
- #nydp_type ⇒ Object
- #to_ruby ⇒ Object
Instance Method Details
#as_method_name ⇒ Object
def _nydp_wrapper ; Nydp::StringAtom.new self ; end
44 |
# File 'lib/nydp/core_ext.rb', line 44 def as_method_name ; self.gsub(/-/, '_').to_sym ; end |
#nydp_type ⇒ Object
45 |
# File 'lib/nydp/core_ext.rb', line 45 def nydp_type ; :string ; end |
#to_ruby ⇒ Object
46 |
# File 'lib/nydp/core_ext.rb', line 46 def to_ruby ; self ; end |