Sha256: 67204fe48261ad357f9969440c9865dc83c11901e59d99c4fcb7583209c155b9

Contents?: true

Size: 293 Bytes

Versions: 2

Compression:

Stored size: 293 Bytes

Contents

require 'helpers/book_context'
require 'helpers/book_review_context'

module Helpers
  module Contexts
    CONTEXTS_DIR = File.expand_path(File.join(File.dirname(__FILE__),'contexts'))

    def context_path(name)
      File.join(Helpers::Contexts::CONTEXTS_DIR,"#{name}.rb")
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
contextify-0.1.6 spec/helpers/contexts.rb
contextify-0.1.5 spec/helpers/contexts.rb