class Cardio::Generators::ModBase

base class for mod-related generators

Public Instance Methods

mod_path() click to toggle source
# File lib/cardio/generators/mod_base.rb, line 10
def mod_path
  @mod_path = if (path = options["mod-path"])
                File.expand_path path
              else
                File.join "mod", file_name
              end
end