module SmartCore::ValueObject::Interface::Serializable::AsHash

@api private @since 0.1.0

Public Instance Methods

as_hash()
Alias for: to_h
to_h() click to toggle source

@return [Hash<Symbol,Any>]

@note strongly dependes on SmartCore::Initializer implementation

@api public @since 0.1.0

# File lib/smart_core/value_object/interface/serializable.rb, line 26
def to_h
  __collect_params__.merge(__collect_options__)
end
Also aliased as: to_hash, as_hash
to_hash()
Alias for: to_h