Sha256: 2aa01354a01f2132cab60bdc924874045952615e7285d87e7451d7735e4836ca
Contents?: true
Size: 340 Bytes
Versions: 40
Compression:
Stored size: 340 Bytes
Contents
# frozen_string_literal: true class MyBuilder < Sinclair def add_methods if options_object.rescue_error add_safe_method else add_method(:symbolize) { @variable.to_sym } end end def add_safe_method add_method(:symbolize) do @variable.to_sym rescue StandardError :default end end end
Version data entries
40 entries across 40 versions & 1 rubygems