Class: BDDSM::File

Inherits:
Object
  • Object
show all
Defined in:
lib/bddsm/file.rb

Instance Method Summary collapse

Constructor Details

#initialize(path) ⇒ File

Returns a new instance of File.



3
4
5
# File 'lib/bddsm/file.rb', line 3

def initialize(path)
  @path = path
end

Instance Method Details

#runObject



7
8
9
# File 'lib/bddsm/file.rb', line 7

def run
  require @path
end