Class: Gem::MiniMirror::Resources::RubyFile

Inherits:
BaseFile
  • Object
show all
Defined in:
lib/rubygems/mini_mirror/resources/ruby_file.rb

Instance Method Summary collapse

Methods inherited from BaseFile

#initialize, #tag

Methods included from Gem::MiniMirror::Resource

included, #tag

Constructor Details

This class inherits a constructor from Gem::MiniMirror::Resources::BaseFile

Instance Method Details

#load!Object



8
9
10
11
# File 'lib/rubygems/mini_mirror/resources/ruby_file.rb', line 8

def load!
  super
  instance_eval(File.read(@path),__FILE__,  __LINE__ + 1)
end