Module: Inform::TagHelpers
- Included in:
- Taggable
- Defined in:
- lib/runtime/tag.rb
Overview
The Inform::TagHelpers module
Instance Method Summary collapse
- #attributes ⇒ Object
- #has(*args) ⇒ Object
- #has?(*args) ⇒ Boolean
- #hasany?(*args) ⇒ Boolean
- #hasnt(*args) ⇒ Object (also: #has!)
- #hasnt?(*args) ⇒ Boolean
Instance Method Details
#attributes ⇒ Object
184 |
# File 'lib/runtime/tag.rb', line 184 def attributes; ; end |
#has(*args) ⇒ Object
185 |
# File 'lib/runtime/tag.rb', line 185 def has(*args); tag(*args); end |
#has?(*args) ⇒ Boolean
187 |
# File 'lib/runtime/tag.rb', line 187 def has?(*args); tagged_with_all?(*args); end |
#hasany?(*args) ⇒ Boolean
188 |
# File 'lib/runtime/tag.rb', line 188 def hasany?(*args); tagged_with_any?(*args); end |
#hasnt(*args) ⇒ Object Also known as: has!
186 |
# File 'lib/runtime/tag.rb', line 186 def hasnt(*args); untag(*args); end |
#hasnt?(*args) ⇒ Boolean
189 |
# File 'lib/runtime/tag.rb', line 189 def hasnt?(*args); tagged_with_none?(*args); end |