Sha256: 56d045af367099cc626e188d2f3d5a0b773586b83ac9247d4e02aeeae4155a05

Contents?: true

Size: 614 Bytes

Versions: 3

Compression:

Stored size: 614 Bytes

Contents

module StaticMatic
  class Configuration
    attr_accessor :preview_server_port

    attr_accessor :preview_server_host
    
    attr_accessor :use_relative_paths_for_links
    attr_accessor :use_relative_paths_for_images
    attr_accessor :use_relative_paths_for_stylesheets
    attr_accessor :use_relative_paths_for_javascripts
    
    def initialize
      self.preview_server_port = 3000
      self.use_relative_paths_for_links = false
      self.use_relative_paths_for_images = false
      self.use_relative_paths_for_stylesheets = false
      self.use_relative_paths_for_javascripts = false
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
staticmatic-0.8.8 lib/staticmatic/configuration.rb
staticmatic-0.8.10 lib/staticmatic/configuration.rb
staticmatic-0.8.9 lib/staticmatic/configuration.rb