Sha256: 24de46bf9d97cd3afc530a40e429cdea12d0ab72115df2dbccb90cb683328622
Contents?: true
Size: 407 Bytes
Versions: 41
Compression:
Stored size: 407 Bytes
Contents
# frozen_string_literal: true module Nanoc module Int class SnapshotDef include Nanoc::Int::ContractsSupport attr_reader :name attr_reader :binary contract Symbol, C::KeywordArgs[binary: C::Optional[C::Bool]] => C::Any def initialize(name, binary:) @name = name @binary = binary end def binary? @binary end end end end
Version data entries
41 entries across 41 versions & 1 rubygems