Class: TShield::Options

Inherits:
Object
  • Object
show all
Defined in:
lib/tshield/options.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeOptions

Returns a new instance of Options.



18
19
20
# File 'lib/tshield/options.rb', line 18

def initialize
  parse
end

Instance Attribute Details

#debugObject (readonly)

Returns the value of attribute debug.



8
9
10
# File 'lib/tshield/options.rb', line 8

def debug
  @debug
end

Class Method Details

.initObject



10
11
12
# File 'lib/tshield/options.rb', line 10

def self.init
  @@instance = TShield::Options.new
end

.instanceObject



14
15
16
# File 'lib/tshield/options.rb', line 14

def self.instance
  @@instance
end

Instance Method Details

#break?(args = {}) ⇒ Boolean

Returns:

  • (Boolean)


22
23
24
# File 'lib/tshield/options.rb', line 22

def break?(args = {})
  check_breakpoint(args)
end