Sha256: 908526c87921c434db3ebf6ce5ec468ea438cefe4980274f6d7d750384cad45f
Contents?: true
Size: 441 Bytes
Versions: 26
Compression:
Stored size: 441 Bytes
Contents
# frozen_string_literal: true require 'eac_ruby_utils/core_ext' require 'ehbrs/cooking_book/recipe/measure' module Ehbrs module CookingBook class Recipe class Ingredient class << self def build(label, value) new(label, ::Ehbrs::CookingBook::Recipe::Measure.build(value)) end end enable_simple_cache common_constructor :name, :measure end end end end
Version data entries
26 entries across 26 versions & 1 rubygems