Class: Rproof::Warning

Inherits:
LocatedInfo show all
Defined in:
lib/rproof/warning.rb

Instance Attribute Summary collapse

Attributes inherited from LocatedInfo

#file, #line, #method, #pathname

Instance Method Summary collapse

Constructor Details

#initialize(message) ⇒ Warning

Returns a new instance of Warning.



9
10
11
12
# File 'lib/rproof/warning.rb', line 9

def initialize(message)
  super()
  @message = message
end

Instance Attribute Details

#messageObject (readonly)

Returns the value of attribute message.



13
14
15
# File 'lib/rproof/warning.rb', line 13

def message
  @message
end