Sha256: fb6477ea5296ac6502d401e366ff007740c9a3fa9c1b61f96373a4c5ab7c5a57

Contents?: true

Size: 301 Bytes

Versions: 18

Compression:

Stored size: 301 Bytes

Contents

module Comable
  #
  # SKU項目
  # 商品と注文明細にSKU項目としての機能を付与するためのモジュール
  #
  module SkuItem
    def sku_h?
      sku_h_item_name.present?
    end

    def sku_v?
      sku_v_item_name.present?
    end

    alias_method :sku?, :sku_h?
  end
end

Version data entries

18 entries across 18 versions & 2 rubygems

Version Path
comable-core-0.7.1 app/models/concerns/comable/sku_item.rb
comable-core-0.7.0 app/models/concerns/comable/sku_item.rb
comable-core-0.7.0.beta2 app/models/concerns/comable/sku_item.rb
comable-core-0.7.0.beta1 app/models/concerns/comable/sku_item.rb
comable-core-0.6.0 app/models/concerns/comable/sku_item.rb
comable_core-0.5.0 app/models/concerns/comable/sku_item.rb
comable_core-0.4.2 app/models/concerns/comable/sku_item.rb
comable_core-0.4.1 app/models/concerns/comable/sku_item.rb
comable_core-0.4.0 app/models/concerns/comable/sku_item.rb
comable_core-0.3.4 app/models/concerns/comable/sku_item.rb
comable_core-0.3.3 app/models/concerns/comable/sku_item.rb
comable_core-0.3.2 app/models/concerns/comable/sku_item.rb
comable_core-0.3.1 app/models/concerns/comable/sku_item.rb
comable_core-0.3.0 app/models/concerns/comable/sku_item.rb
comable_core-0.2.3 app/models/concerns/comable/sku_item.rb
comable_core-0.2.2 app/models/concerns/comable/sku_item.rb
comable_core-0.2.1 app/models/concerns/comable/sku_item.rb
comable_core-0.2.0 app/models/concerns/comable/sku_item.rb