class method
self.new
Ruby on Rails 2.2.3
Since v2.2.3 Last seen in v2.3.18Available in: v2.2.3 v2.3.18
Signature
self.new(cache_file = File.join(find_home, ".rails-plugin-sources"))
No documentation comment.
Parameters
-
cache_fileopt = File.join(find_home -
".rails-plugin-sources")req
Source
# File railties/lib/commands/plugin.rb, line 315
def initialize(cache_file = File.join(find_home, ".rails-plugin-sources"))
@cache_file = File.expand_path(cache_file)
load!
end
Defined in railties/lib/commands/plugin.rb line 315
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Repositories