Class: Eye::Reason
Direct Known Subclasses
Defined Under Namespace
Classes: Flapping, StartingGuard, User
Instance Method Summary collapse
-
#initialize(mes = nil) ⇒ Reason
constructor
A new instance of Reason.
- #to_s ⇒ Object
- #user? ⇒ Boolean
Constructor Details
#initialize(mes = nil) ⇒ Reason
Returns a new instance of Reason.
3 4 5 |
# File 'lib/eye/reason.rb', line 3 def initialize(mes = nil) @message = mes end |