lib/taipu/base.rb in taipu-0.0.2 vs lib/taipu/base.rb in taipu-0.0.3
- old
+ new
@@ -1,12 +1,8 @@
# Namespace for the Taipu library.
module Taipu
# Abstract class.
class Base
- def initialize(*)
- freeze
- end
-
def to_h
{
type: to_sym
}.merge(constraints)
end