Sha256: 3dd8aa4d843dd52591fc0a92462b3966b9280b0e645472e4ee655efee2e41d55

Contents?: true

Size: 620 Bytes

Versions: 9

Compression:

Stored size: 620 Bytes

Contents

class Guide::Fixture
  # Fixtures are used to generate content for your Living Guide
  # that would otherwise be repetitive, such as view models that are used
  # from multiple components. Declaring these in a single place is useful
  # because it helps keep a consistent interface between the fake view models
  # in the Living Guide and the real view models in your application.
  #
  # Feel free to override or redeclare this class if you want.
  # Nothing in the Guide gem depends on it.
  private

  def self.image_path(image_name, extension)
    Guide::Photographer.new(image_name, extension).image_path
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
guide-0.8.0 app/models/guide/fixture.rb
guide-0.7.0 app/models/guide/fixture.rb
guide-0.6.1 app/models/guide/fixture.rb
guide-0.6.0 app/models/guide/fixture.rb
guide-0.5.0 app/models/guide/fixture.rb
guide-0.4.1 app/models/guide/fixture.rb
guide-0.4.0 app/models/guide/fixture.rb
guide-0.3.2 app/models/guide/fixture.rb
guide-0.3.1 app/models/guide/fixture.rb