Class: TShield::Options
- Inherits:
-
Object
- Object
- TShield::Options
- Defined in:
- lib/tshield/options.rb
Instance Attribute Summary collapse
-
#debug ⇒ Object
readonly
Returns the value of attribute debug.
Class Method Summary collapse
Instance Method Summary collapse
- #break?(args = {}) ⇒ Boolean
-
#initialize ⇒ Options
constructor
A new instance of Options.
Constructor Details
#initialize ⇒ Options
Returns a new instance of Options.
18 19 20 |
# File 'lib/tshield/options.rb', line 18 def initialize parse end |
Instance Attribute Details
#debug ⇒ Object (readonly)
Returns the value of attribute debug.
8 9 10 |
# File 'lib/tshield/options.rb', line 8 def debug @debug end |
Class Method Details
.init ⇒ Object
10 11 12 |
# File 'lib/tshield/options.rb', line 10 def self.init @@instance = TShield::Options.new end |
.instance ⇒ Object
14 15 16 |
# File 'lib/tshield/options.rb', line 14 def self.instance @@instance end |
Instance Method Details
#break?(args = {}) ⇒ Boolean
22 23 24 |
# File 'lib/tshield/options.rb', line 22 def break?(args = {}) check_breakpoint(args) end |