Runtime assertions for Ruby literal.fun
ruby
5
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fix rubocop offense on CI (#337)

authored by

stephann and committed by
GitHub
b96277c8 ef5cc3ca

+1 -2
+1 -2
lib/literal/data.rb
··· 2 2 3 3 class Literal::Data < Literal::DataStructure 4 4 class << self 5 + def [](...) = new(...) 5 6 6 7 def define(**properties) 7 8 Class.new(self) do 8 9 properties.each { |name, type| prop(name, type) } 9 10 end 10 11 end 11 - 12 - def [](...) = new(...) 13 12 14 13 def prop(name, type, kind = :keyword, reader: :public, predicate: false, default: nil) 15 14 super(name, type, kind, reader:, writer: false, predicate:, default:)