Module: Inform::TagHelpers
- Included in:
- Taggable
- Defined in:
- lib/story_teller/inform/ephemeral/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
148 |
# File 'lib/story_teller/inform/ephemeral/tag.rb', line 148 def attributes; ; end |
#has(*args) ⇒ Object
149 |
# File 'lib/story_teller/inform/ephemeral/tag.rb', line 149 def has(*args); tag(*args); end |
#has?(*args) ⇒ Boolean
151 |
# File 'lib/story_teller/inform/ephemeral/tag.rb', line 151 def has?(*args); tagged_with_all?(*args); end |
#hasany?(*args) ⇒ Boolean
152 |
# File 'lib/story_teller/inform/ephemeral/tag.rb', line 152 def hasany?(*args); tagged_with_any?(*args); end |
#hasnt(*args) ⇒ Object Also known as: has!
150 |
# File 'lib/story_teller/inform/ephemeral/tag.rb', line 150 def hasnt(*args); untag(*args); end |
#hasnt?(*args) ⇒ Boolean
153 |
# File 'lib/story_teller/inform/ephemeral/tag.rb', line 153 def hasnt?(*args); tagged_with_none?(*args); end |