Class: Webstalker::Base
- Inherits:
-
Object
- Object
- Webstalker::Base
- Defined in:
- lib/webstalker/base.rb
Instance Attribute Summary collapse
-
#options ⇒ Object
readonly
Returns the value of attribute options.
-
#username ⇒ Object
readonly
Returns the value of attribute username.
Instance Method Summary collapse
-
#initialize(username, opts = {}) ⇒ Base
constructor
A new instance of Base.
- #tags ⇒ Object
Constructor Details
#initialize(username, opts = {}) ⇒ Base
Returns a new instance of Base.
5 6 7 8 |
# File 'lib/webstalker/base.rb', line 5 def initialize(username, opts = {}) @username = username @options = opts end |
Instance Attribute Details
#options ⇒ Object (readonly)
Returns the value of attribute options.
3 4 5 |
# File 'lib/webstalker/base.rb', line 3 def @options end |
#username ⇒ Object (readonly)
Returns the value of attribute username.
3 4 5 |
# File 'lib/webstalker/base.rb', line 3 def username @username end |
Instance Method Details
#tags ⇒ Object
10 11 12 |
# File 'lib/webstalker/base.rb', line 10 def [] end |