Class: BunBo::Success
- Inherits:
-
Object
- Object
- BunBo::Success
- Defined in:
- lib/bun_bo/results/success.rb
Instance Method Summary collapse
-
#initialize(path) ⇒ Success
constructor
A new instance of Success.
- #message ⇒ Object
- #success? ⇒ Boolean
Constructor Details
#initialize(path) ⇒ Success
Returns a new instance of Success.
3 4 5 |
# File 'lib/bun_bo/results/success.rb', line 3 def initialize(path) @path = path end |
Instance Method Details
#message ⇒ Object
11 12 13 |
# File 'lib/bun_bo/results/success.rb', line 11 def "#{path} is created successfully." end |
#success? ⇒ Boolean
7 8 9 |
# File 'lib/bun_bo/results/success.rb', line 7 def success? true end |