I hereby claim:
- I am vmakoed on github.
- I am rubybit (https://keybase.io/rubybit) on keybase.
- I have a public key ASAz-sHtjunw_6J7t1yxcfQYJIdhXP1B4EBDWSv9AaypkQo
To claim this, I am signing this object:
| // Available variables: | |
| // - Machine | |
| // - interpret | |
| // - assign | |
| // - send | |
| // - sendParent | |
| // - spawn | |
| // - raise | |
| // - actions |
| class Histogram_Generator | |
| def initialize | |
| end | |
| def self.processString(string:) | |
| result = if !string.empty? | |
| string.gsub( /[ ,.\r\n]/, " " ).split( " " ).each_with_object( Hash.new(0) ) {|word, result| result[word]+=1}; |
I hereby claim:
To claim this, I am signing this object:
| #TODO: delete after protected attributes migration to strong params is complete | |
| module StrongParams | |
| module Tools | |
| # use #model_params method from this module to get a nice hash of params ready to be | |
| # injected into a params filter of a Rails controller. | |
| # Works with nested_attributes. Takes reflections into account. | |
| module Generator | |
| module_function | |
| # | |
| # Example: |
| {"lastUpload":"2018-02-22T16:57:23.288Z","extensionVersion":"v2.8.7"} |