Module: Ronin::Model::HasLicense::InstanceMethods
- Defined in:
- lib/ronin/model/has_license.rb
Overview
Instance methods that are added when Ronin::Model::HasLicense is included into a model.
Instance Method Summary collapse
-
#license!(name) ⇒ Object
deprecated
Deprecated.
license!
was deprecated in favor of #licensed_under. -
#licensed_under(name) ⇒ License
Sets the license of the model.
Instance Method Details
#license!(name) ⇒ Object
Deprecated.
license!
was deprecated in favor of #licensed_under.
123 124 125 |
# File 'lib/ronin/model/has_license.rb', line 123 def license!(name) licensed_under(name) end |