Jaimerson Araújo
Jaimerson Araújo
I need to implement a linter that checks if there is any hard coded text (instead of i18n translations or method calls in general) for a project. So I wondered...
Suppose I have a class `Foo`, which has an array of `Bar` objects, as follows: ``` ruby class Foo include Virtus.model attribute :bars, Array[Bar] end class Bar include Virtus.model attribute...
So I have the following code: ``` elixir for_all {s, t, j} in such_that({s_, t_, j_} in {int, int, int} when(s_ < j_ and j_ < t_)) do #... end...
The following: ```bash rspec 'spec/some_spec.rb[1:1]' 'spec/some_other_spec.rb' ``` Will run only `spec/some_spec.rb[1:1]` if `config.filter_run` is `focus: true`, but will run as specified if instead we use `config.filter_run_when_matching :focus`. Also, if using...