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



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

def attributes; tags; end

#has(*args) ⇒ Object



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

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

#has?(*args) ⇒ Boolean

Returns:

  • (Boolean)


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

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

#hasany?(*args) ⇒ Boolean

Returns:

  • (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

Returns:

  • (Boolean)


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

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