Class: SwfFile
- Inherits:
-
Object
- Object
- SwfFile
- Defined in:
- lib/swf_file.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(swf_path) ⇒ SwfFile
constructor
A new instance of SwfFile.
Constructor Details
#initialize(swf_path) ⇒ SwfFile
Returns a new instance of SwfFile.
11 12 13 |
# File 'lib/swf_file.rb', line 11 def initialize(swf_path) raise RuntimeError, "SWF file not found.", caller unless File.exists?(swf_path) end |