Module: Bukkit::BanEntry
- Defined in:
- lib/bukkit/ban_entry.rb
Instance Attribute Summary collapse
-
#creation ⇒ Object
(also: #getCreated)
Returns the value of attribute creation.
-
#expiration ⇒ Object
(also: #getExpiration)
Returns the value of attribute expiration.
-
#reason ⇒ Object
(also: #getReason)
Returns the value of attribute reason.
-
#source ⇒ Object
(also: #getSource)
Returns the value of attribute source.
-
#target ⇒ Object
(also: #getTarget)
Returns the value of attribute target.
Instance Method Summary collapse
-
#save ⇒ Object
Saves the ban entry, overwriting any previous data in the ban list.
Instance Attribute Details
#creation ⇒ Object Also known as: getCreated
Returns the value of attribute creation.
5 6 7 |
# File 'lib/bukkit/ban_entry.rb', line 5 def creation @creation end |
#expiration ⇒ Object Also known as: getExpiration
Returns the value of attribute expiration.
5 6 7 |
# File 'lib/bukkit/ban_entry.rb', line 5 def expiration @expiration end |
#reason ⇒ Object Also known as: getReason
Returns the value of attribute reason.
5 6 7 |
# File 'lib/bukkit/ban_entry.rb', line 5 def reason @reason end |
#source ⇒ Object Also known as: getSource
Returns the value of attribute source.
5 6 7 |
# File 'lib/bukkit/ban_entry.rb', line 5 def source @source end |
#target ⇒ Object Also known as: getTarget
Returns the value of attribute target.
5 6 7 |
# File 'lib/bukkit/ban_entry.rb', line 5 def target @target end |
Instance Method Details
#save ⇒ Object
Saves the ban entry, overwriting any previous data in the ban list
Saving the ban entry of an unbanned player will cause the player to be banned once again.
29 |
# File 'lib/bukkit/ban_entry.rb', line 29 def save; end |