Method: PoolParty::Resource.has_method_name
- Defined in:
- lib/poolparty/resource.rb
.has_method_name ⇒ Object
Singleton methods has_name The has_ and does_not_have methods names are considered, unless otherwise denoted to be the top level class name for instance
class Tengo < Resource
end
the has_ method will be
has_tengo
137 138 139 |
# File 'lib/poolparty/resource.rb', line 137 def self.has_method_name to_s.top_level_class end |