Switch from ActiveSupports delegate method to Ruby 1.9+ def_delegator

This commit is contained in:
Thomas Reynolds 2014-07-05 11:17:41 -07:00
parent 3a19cc668d
commit 336b80cbbd
13 changed files with 37 additions and 22 deletions

View file

@ -53,9 +53,12 @@ module Middleman
# Core File Change API class
class API
extend Forwardable
attr_reader :app
attr_reader :known_paths
delegate :logger, to: :app
def_delegator :@app, :logger
# Initialize api and internal path cache
def initialize(app)