Module: Treat::Proxies::String
- Includes:
- Proxy
- Defined in:
- lib/treat/proxies/string.rb
Overview
Install Treat functions on String objects.
Instance Method Summary collapse
-
#to_entity ⇒ Object
Return the entity corresponding to the string.
Methods included from Proxy
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Treat::Proxies::Proxy
Instance Method Details
#to_entity ⇒ Object
Return the entity corresponding to the string.
8 9 10 |
# File 'lib/treat/proxies/string.rb', line 8 def to_entity Treat::Entities::Entity.from_string(self) end |