Class: VueCK::VueCK

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

Instance Method Summary collapse

Constructor Details

#initialize(filename) ⇒ VueCK

Returns a new instance of VueCK.



14
15
16
17
# File 'lib/vueck.rb', line 14

def initialize(filename)
    @filename = filename
    return unless FILES[:javascript] || FILES[:style]
end

Instance Method Details

#serve_fileObject



18
19
20
# File 'lib/vueck.rb', line 18

def serve_file
    FileManager.new(@filename).serve
end