Module: Inform::TagHelpers

Included in:
Taggable
Defined in:
lib/story_teller/inform/ephemeral/tag.rb

Overview

The Inform::TagHelpers module

Instance Method Summary collapse

Instance Method Details

#attributesObject



158
# File 'lib/story_teller/inform/ephemeral/tag.rb', line 158

def attributes; tags; end

#has(*args) ⇒ Object



159
# File 'lib/story_teller/inform/ephemeral/tag.rb', line 159

def has(*args); tag(*args); end

#has?(*args) ⇒ Boolean

Returns:

  • (Boolean)


161
# File 'lib/story_teller/inform/ephemeral/tag.rb', line 161

def has?(*args); tagged_with_all?(*args); end

#hasany?(*args) ⇒ Boolean

Returns:

  • (Boolean)


162
# File 'lib/story_teller/inform/ephemeral/tag.rb', line 162

def hasany?(*args); tagged_with_any?(*args); end

#hasnt(*args) ⇒ Object Also known as: has!



160
# File 'lib/story_teller/inform/ephemeral/tag.rb', line 160

def hasnt(*args); untag(*args); end

#hasnt?(*args) ⇒ Boolean

Returns:

  • (Boolean)


163
# File 'lib/story_teller/inform/ephemeral/tag.rb', line 163

def hasnt?(*args); tagged_with_none?(*args); end