Sha256: 6c7768af48aecc1059d53097705c6060ea82940476a3afe0629b811f4a0d3c94

Contents?: true

Size: 345 Bytes

Versions: 18

Compression:

Stored size: 345 Bytes

Contents

require "edgarj/engine"

module Edgarj
  class EdgarjError < StandardError; end
    class NoPopupTarget < EdgarjError; end

  LINES_PER_PAGE    = [2, 5, 10,20,50,100,200].freeze
  LIST_TEXT_MAX_LEN = 20

  # ActiveRecord::Fixtures.identify へのショートカット
  def self.label(label)
    ActiveRecord::Fixtures.identify(label)
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
edgarj-0.02.00 lib/edgarj.rb
edgarj-0.01.30 lib/edgarj.rb
edgarj-0.01.29 lib/edgarj.rb
edgarj-0.01.28 lib/edgarj.rb
edgarj-0.01.27 lib/edgarj.rb
edgarj-0.01.26 lib/edgarj.rb
edgarj-0.01.25 lib/edgarj.rb
edgarj-0.01.24 lib/edgarj.rb
edgarj-0.01.22 lib/edgarj.rb
edgarj-0.01.21 lib/edgarj.rb
edgarj-0.01.20 lib/edgarj.rb
edgarj-0.01.19 lib/edgarj.rb
edgarj-0.01.18 lib/edgarj.rb
edgarj-0.01.17 lib/edgarj.rb
edgarj-0.01.16 lib/edgarj.rb
edgarj-0.01.15 lib/edgarj.rb
edgarj-0.01.13 lib/edgarj.rb
edgarj-0.01.12 lib/edgarj.rb