Sha256: 5b5f16c50f2aeac9097011e602e1ca604619e6d270415ad5a0ae4b7180259a4b
Contents?: true
Size: 385 Bytes
Versions: 6
Compression:
Stored size: 385 Bytes
Contents
module Detour::FlaggableFlagsHelper def feature_name params[:feature_name] end def flag_noun flag_type.dasherize end def flag_title flag_noun.capitalize end def flag_type params[:flag_type].underscore end def flag_verb flag_type == "flag_in" ? "flagged in to" : "opted out of" end def flaggable_type params[:flaggable_type] end end
Version data entries
6 entries across 6 versions & 1 rubygems