Sha256: 4168a4aeab5d3c8fcb43b08aad45f74865ce667f31034d94b802a04217a0062a
Contents?: true
Size: 526 Bytes
Versions: 4
Compression:
Stored size: 526 Bytes
Contents
require_relative "billme/support/helpers" require "billme/version" require_relative "billme/factory" require_relative "billme/section" require_relative "billme/services_section" require_relative "billme/service_details" require 'i18n' lang_path = File.expand_path('../../config', __FILE__) I18n.load_path = Dir["#{lang_path}/locales/*.yml"] I18n.backend.load_translations I18n.default_locale = :en module Billme def self.bill(&block) factory = Factory.new factory.instance_eval &block factory.render end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
billme-0.44.0 | lib/billme.rb |
billme-0.40.0 | lib/billme.rb |
billme-0.38.0 | lib/billme.rb |
billme-0.37.0 | lib/billme.rb |