Sha256: 847dfbe9de6eab7329b94de4b393a6ddcebd573ce20d2b3b98a7e6240147c9ea
Contents?: true
Size: 661 Bytes
Versions: 15
Compression:
Stored size: 661 Bytes
Contents
module Foobara module BuiltinTypes module Model # TODO: Create Mutations/SupportedMutations concept class Transformers class Mutable < TypeDeclarations::Transformer class << self def requires_parent_declaration_data? true end end def transform(record) record.mutable = if parent_declaration_data.key?(:mutable) parent_declaration_data[:mutable] else false end record end end end end end end
Version data entries
15 entries across 15 versions & 1 rubygems