Class: WeebSh::Tag
- Inherits:
-
Object
- Object
- WeebSh::Tag
- Defined in:
- lib/weeb/data.rb
Overview
Represents an Image tag for toph
Instance Attribute Summary collapse
-
#account ⇒ String
(also: #creator, #author)
readonly
The ID of the creator.
-
#hidden ⇒ true, false
(also: #hidden?)
readonly
Whether or not this tag can only be seen by the uploader.
-
#name ⇒ String
readonly
The name of the tag.
Instance Method Summary collapse
Instance Attribute Details
#account ⇒ String (readonly) Also known as: creator,
Returns the ID of the creator.
161 162 163 |
# File 'lib/weeb/data.rb', line 161 def account @account end |
#hidden ⇒ true, false (readonly) Also known as:
Returns whether or not this tag can only be seen by the uploader.
157 158 159 |
# File 'lib/weeb/data.rb', line 157 def hidden @hidden end |
#name ⇒ String (readonly)
Returns the name of the tag.
154 155 156 |
# File 'lib/weeb/data.rb', line 154 def name @name end |
Instance Method Details
#inspect ⇒ Object
173 174 175 |
# File 'lib/weeb/data.rb', line 173 def inspect "#<WeebSh::Tag @name=#{@name.inspect} @hidden=#{@hidden.inspect} @account=#{@account.inspect}>" end |