class ModelPresenter::SpecSupport

Attributes

config[R]

Public Class Methods

new(config) click to toggle source
# File lib/model_presenter/spec_support.rb, line 7
def initialize(config)
  @config = config
end

Public Instance Methods

register() click to toggle source
# File lib/model_presenter/spec_support.rb, line 11
def register
  config.extend ModelPresenter::Spec::Macros
end