From 5c90bd9a950e93ddb4b6dbdf208e87beefc1bda6 Mon Sep 17 00:00:00 2001 From: shekharrajak Date: Mon, 7 Jan 2019 21:25:07 +0530 Subject: [PATCH] removed Unnecessary disabling of Style/ModuleFunction --- lib/daru/view/adapters/googlecharts.rb | 2 +- lib/daru/view/adapters/highcharts.rb | 2 +- lib/daru/view/adapters/nyaplot.rb | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/daru/view/adapters/googlecharts.rb b/lib/daru/view/adapters/googlecharts.rb index 30e4574..a08ca40 100644 --- a/lib/daru/view/adapters/googlecharts.rb +++ b/lib/daru/view/adapters/googlecharts.rb @@ -9,7 +9,7 @@ module Daru module View module Adapter module GooglechartsAdapter - extend self # rubocop:disable Style/ModuleFunction + extend self # Read : https://developers.google.com/chart/ to understand # the google charts option concept. diff --git a/lib/daru/view/adapters/highcharts.rb b/lib/daru/view/adapters/highcharts.rb index 22261aa..a716ae8 100644 --- a/lib/daru/view/adapters/highcharts.rb +++ b/lib/daru/view/adapters/highcharts.rb @@ -8,7 +8,7 @@ module Daru module View module Adapter module HighchartsAdapter - extend self # rubocop:disable Style/ModuleFunction + extend self # Read : https://www.highcharts.com/docs/chart-concepts to understand # the highcharts option concept. diff --git a/lib/daru/view/adapters/nyaplot.rb b/lib/daru/view/adapters/nyaplot.rb index 50422b2..4705faa 100644 --- a/lib/daru/view/adapters/nyaplot.rb +++ b/lib/daru/view/adapters/nyaplot.rb @@ -6,7 +6,7 @@ module Daru module View module Adapter module NyaplotAdapter - extend self # rubocop:disable Style/ModuleFunction + extend self def init(data, options, _user_options={}) data_new = guess_data(data) data_new.plot(options)