Class: Bookbinder::Deploy::Failure

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(reason) ⇒ Failure



6
7
8
# File 'lib/bookbinder/deploy/failure.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/failure.rb', line 4

def reason
  @reason
end

Instance Method Details

#success?Boolean



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

def success?
  false
end