module Middleman::Galley::GemStuff

Public Instance Methods

here(relative_path) click to toggle source
# File lib/middleman/galley/gem_stuff.rb, line 13
def here relative_path
  (this_path + relative_path).to_s
end
this_path() click to toggle source
# File lib/middleman/galley/gem_stuff.rb, line 4
def this_path
  @this_path ||=
    begin
      this = 'middleman-galley'
      this = Gem::Specification.find_by_name this
      Pathname this.gem_dir
    end
end