Exception: Exception
- Defined in:
- lib/tagen/core/exception.rb
Overview
exit code for shell programming.
end
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.exit_code ⇒ Object
17 18 19 |
# File 'lib/tagen/core/exception.rb', line 17 def exit_code @@exit_code end |
.exit_code=(code) ⇒ Object
21 22 23 |
# File 'lib/tagen/core/exception.rb', line 21 def exit_code=(code) @@exit_code = code end |
Instance Method Details
#exit_code ⇒ Object
26 27 28 |
# File 'lib/tagen/core/exception.rb', line 26 def exit_code self.class.exit_code end |