Exception: Vcs::MustBeFilled
- Inherits:
-
Exception
- Object
- Exception
- Vcs::MustBeFilled
- Defined in:
- lib/vcs/changelog.rb
Instance Attribute Summary collapse
-
#file ⇒ Object
readonly
Returns the value of attribute file.
Instance Method Summary collapse
-
#initialize(file) ⇒ MustBeFilled
constructor
A new instance of MustBeFilled.
Constructor Details
#initialize(file) ⇒ MustBeFilled
Returns a new instance of MustBeFilled.
45 46 47 48 |
# File 'lib/vcs/changelog.rb', line 45 def initialize ( file ) @file = file super("You must fill this file: `#{file.to_s}'") end |
Instance Attribute Details
#file ⇒ Object (readonly)
Returns the value of attribute file.
44 45 46 |
# File 'lib/vcs/changelog.rb', line 44 def file @file end |