Sha256: da1eb2300ecfd9c19208b8a73db26bb6a15a188da6ae7e8da72e1d90f2cb724d

Contents?: true

Size: 370 Bytes

Versions: 4

Compression:

Stored size: 370 Bytes

Contents

module Oscar
  require 'oscar/version'
  require 'oscar/plugin'

  def self.source_root
    @source_root ||= File.expand_path('..', __FILE__)
  end

  def self.template_root
    @template_root ||= File.expand_path('../templates', source_root)
  end

  require 'oscar/runner'
  extend Oscar::Runner
end

I18n.load_path << File.join(Oscar.template_root, 'locales/en.yml')

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
oscar-0.4.0 lib/oscar.rb
oscar-0.3.2 lib/oscar.rb
oscar-0.3.1 lib/oscar.rb
oscar-0.3.0 lib/oscar.rb