Class: Assets::Rule::Rename
- Inherits:
-
Assets::Rule
- Object
- Assets::Rule
- Assets::Rule::Rename
- Defined in:
- lib/assets/rule/rename.rb
Overview
Rule to rename other rule
Instance Attribute Summary collapse
-
#name ⇒ String
readonly
private
Return name.
Instance Method Summary collapse
-
#body ⇒ String
private
Return body.
-
#mime ⇒ Mime
Return mime.
-
#updated_at ⇒ Time
private
Return updated at.
Methods inherited from Assets::Rule
Instance Attribute Details
#name ⇒ String (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Return name
23 24 25 |
# File 'lib/assets/rule/rename.rb', line 23 def name @name end |
Instance Method Details
#body ⇒ String
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Return body
31 32 33 |
# File 'lib/assets/rule/rename.rb', line 31 def body rule.body end |
#mime ⇒ Mime
Return mime
41 42 43 |
# File 'lib/assets/rule/rename.rb', line 41 def mime rule.mime end |
#updated_at ⇒ Time
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Return updated at
51 52 53 |
# File 'lib/assets/rule/rename.rb', line 51 def updated_at rule.updated_at end |