Method: PointRb::LayoutFile#initialize
- Defined in:
- lib/pointrb/layout_file.rb
#initialize(path) ⇒ LayoutFile
Returns a new instance of LayoutFile.
10 11 12 13 14 |
# File 'lib/pointrb/layout_file.rb', line 10 def initialize(path) raise Exceptions::FileNotFound, "You tell me to use '#{path}' as path to the layout. But this file does not exist." unless File.exists? path @path = path end |