Class: Contracts::Constraints::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/contracts.rb

Instance Method Summary collapse

Instance Method Details

#to_hObject



204
# File 'lib/contracts.rb', line 204

def to_h = { type: self.class.name.split("::").last.downcase, description: description }