Sha256: 872e83ef13899b4e89800c3cf46c184953133d72cb2740fb734121a6fb3d6e01

Contents?: true

Size: 383 Bytes

Versions: 1

Compression:

Stored size: 383 Bytes

Contents

require 'shuhari'
require 'erb'

module Shuhari
  module PlatformGems
    include Platform

    TEMPLATES = File.expand_path('../../templates', File.dirname(__FILE__))
    TEMPLATE_FILE = File.expand_path('platform_gems.erb', TEMPLATES)

    protected

    def platform_gems
      b = binding
      erb = ERB.new(File.read(TEMPLATE_FILE))
      erb.result(b).strip
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
shuhari-0.1.1 lib/shuhari/platform_gems.rb