Module: Ronin::Model::HasName::InstanceMethods
- Defined in:
- lib/ronin/model/has_name.rb
Overview
Instance methods that are added when Ronin::Model::HasName is included into a model.
Instance Method Summary collapse
-
#to_s ⇒ String
Converts the named resource into a String.
Instance Method Details
#to_s ⇒ String
Converts the named resource into a String.
85 86 87 |
# File 'lib/ronin/model/has_name.rb', line 85 def to_s self.name.to_s end |