Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Q
quby-compiler
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
RoQua
quby-compiler
Merge requests
!15
Convert options = {} to **options in the dsl. to remove warnings
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Convert options = {} to **options in the dsl. to remove warnings
hh_kwargs_in_builders
into
main
Overview
1
Commits
1
Pipelines
1
Changes
26
Merged
Henk van der Veen
requested to merge
hh_kwargs_in_builders
into
main
4 years ago
Overview
1
Commits
1
Pipelines
1
Changes
26
Expand
0
0
Merge request reports
Compare
main
main (base)
and
latest version
latest version
47be5c07
1 commit,
4 years ago
26 files
+
82
−
80
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
26
Search (e.g. *.vue) (Ctrl+P)
lib/quby/compiler/dsl/charting/chart_builder.rb
+
3
−
3
Options
@@ -16,8 +16,8 @@ module Quby
@chart_class
end
def
initialize
(
questionnaire
,
key
,
options
=
{}
)
@chart
=
self
.
class
.
chart_class
.
new
(
key
,
options
)
def
initialize
(
questionnaire
,
key
,
**
options
)
@chart
=
self
.
class
.
chart_class
.
new
(
key
,
**
options
)
@questionnaire
=
questionnaire
end
@@ -49,7 +49,7 @@ module Quby
@chart
.
plotlines
<<
{
value:
value
,
color:
color
}
end
def
plot
(
key
,
options
=
{}
)
def
plot
(
key
,
**
options
)
unless
plottable
=
@questionnaire
.
find_plottable
(
key
)
fail
"Questionnaire
#{
@questionnaire
.
key
}
chart
#{
@chart
.
key
}
references unknown score or question
#{
key
}
"
end
Loading