Sha256: b9dbe183f6f56f371e905253ded688fe9442bf04888ec66b51b6ed5982a21721

Contents?: true

Size: 443 Bytes

Versions: 6

Compression:

Stored size: 443 Bytes

Contents

class ModsDisplay::Configuration::Base
  def initialize &config
    instance_eval &config if block_given?
  end

  def label_class label_class=""
    @label_class ||= label_class
  end

  def value_class value_class=""
    @value_class ||= value_class
  end

  def delimiter delimiter=", "
    @delimiter ||= delimiter
  end

  def link method_name="", args={}
    return @link if method_name == ""
    @link ||= [method_name, args]
  end

end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
mods_display-0.0.1.beta6 lib/mods_display/configuration/base.rb
mods_display-0.0.1.beta5 lib/mods_display/configuration/base.rb
mods_display-0.0.1.beta4 lib/mods_display/configuration/base.rb
mods_display-0.0.1.beta3 lib/mods_display/configuration/base.rb
mods_display-0.0.1.beta2 lib/mods_display/configuration/base.rb
mods_display-0.0.1.beta1 lib/mods_display/configuration/base.rb