Class: BunBo::Success

Inherits:
Object
  • Object
show all
Defined in:
lib/bun_bo/results/success.rb

Instance Method Summary collapse

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

#messageObject



11
12
13
# File 'lib/bun_bo/results/success.rb', line 11

def message
  "#{path} is created successfully."
end

#success?Boolean

Returns:

  • (Boolean)


7
8
9
# File 'lib/bun_bo/results/success.rb', line 7

def success?
  true
end