Exception: Vcs::MustBeFilled

Inherits:
Exception
  • Object
show all
Defined in:
lib/vcs/changelog.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#fileObject (readonly)

Returns the value of attribute file.



44
45
46
# File 'lib/vcs/changelog.rb', line 44

def file
  @file
end