Class: Bookbinder::Deploy::Success

Inherits:
Object
  • Object
show all
Defined in:
lib/bookbinder/deploy/success.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(reason) ⇒ Success

Returns a new instance of Success.



6
7
8
# File 'lib/bookbinder/deploy/success.rb', line 6

def initialize(reason)
  @reason = reason
end

Instance Attribute Details

#reasonObject (readonly)

Returns the value of attribute reason.



4
5
6
# File 'lib/bookbinder/deploy/success.rb', line 4

def reason
  @reason
end

Instance Method Details

#success?Boolean

Returns:

  • (Boolean)


10
11
12
# File 'lib/bookbinder/deploy/success.rb', line 10

def success?
  true
end